--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 373315423ee29db4483088eab3f6938f30ffac2d
Parents : 025cae6
Author : Mark Qvist <mark@unsigned.io>
Date : 2025-11-01T17:49:39+01:00
Updated config file descriptions. Ensure propagation node is disabled by default.
Changes
2 files changed, 16 insertions(+), 7 deletions(-)
Diff
diff --git a/nomadnet/NomadNetworkApp.py b/nomadnet/NomadNetworkApp.py
index 462bcce..80d0037 100644
--- a/nomadnet/NomadNetworkApp.py
+++ b/nomadnet/NomadNetworkApp.py
@@ -124,7 +124,7 @@ class NomadNetworkApp:
self.peer_announce_at_start = True
self.try_propagation_on_fail = True
- self.disable_propagation = False
+ self.disable_propagation = True
self.notify_on_new_message = True
self.lxmf_max_propagation_size = None
@@ -877,7 +877,7 @@ class NomadNetworkApp:
self.node_name = self.config["node"]["node_name"]
if not "disable_propagation" in self.config["node"]:
- self.disable_propagation = False
+ self.disable_propagation = True
else:
self.disable_propagation = self.config["node"].as_bool("disable_propagation")
@@ -1171,10 +1171,19 @@ announce_at_start = Yes
# When Nomad Network is hosting a page-serving
# node, it can also act as an LXMF propagation
-# node. If there is already a large amount of
+# node. This is a convenient feature that lets
+# you easily set up and run a propagation node
+# on the network, but it is not as fully
+# featured as using the lxmd program to host a
+# propagation node. For complete control and
+# flexibility, use lxmd to run a PN. For a
+# small local system or network, the built-in
+# PN functionality will suffice for most cases.
+#
+# If there is already a large amount of
# propagation nodes on the network, or you
# simply want to run a pageserving-only node,
-# you can disable running a propagation node.
+# you should disable running a propagation node.
# Due to lots of propagation nodes being
# available, this is currently the default.
disable_propagation = Yes
@@ -1217,8 +1226,8 @@ max_sync_size = 10240
# You can configure the maximum number of other
# propagation nodes that this node will peer
-# with automatically. The default is 50.
-# max_peers = 25
+# with automatically. The default is 20.
+# max_peers = 20
# You can configure a list of static propagation
# node peers, that this node will always be
diff --git a/nomadnet/ui/textui/Network.py b/nomadnet/ui/textui/Network.py
index dba502b..6e6e23a 100644
--- a/nomadnet/ui/textui/Network.py
+++ b/nomadnet/ui/textui/Network.py
@@ -1859,7 +1859,7 @@ class LXMFPeerEntry(urwid.WidgetWrap):
peer_info_str = sym+" "+display_str+"\n "+alive_string+", last heard "+pretty_date(int(peer.last_heard))
peer_info_str += f"\n {sync_limit} sync limit, {txfer_limit} msg limit"
peer_info_str += f"\n {RNS.prettyspeed(peer.sync_transfer_rate)} STR, {RNS.prettyspeed(peer.link_establishment_rate)} LER"
- peer_info_str += f"\n {sct} propagation cost{scf}"
+ peer_info_str += f"\n Propagation cost {sct}{scf}"
peer_info_str += "\n "+str(peer.unhandled_message_count)+f" unhandled LXMs, {ar}% AR"
widget = ListEntry(peer_info_str)
self.display_widget = urwid.AttrMap(widget, style, focus_style)
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────